ALL_OBJS=x.o
TARGET=mncl
INCLUDE=-I../inc/


all: $(ALL_OBJS)
	gcc $(ALL_OBJS) -lX11 -o $(TARGET)


%.o:%.c
	@echo building $@...
	@$(CC) -g $(INCLUDE) $(CFLAGS) -c -o $@ $<
	@echo $@ done.
